<extend file="resource/admin/common/common"/>
<block name="right_center">
        <!--右侧主题部分 start-->
        <div class="col-xs-12 col-sm-9 col-lg-10">
            <ol class="breadcrumb" style="background-color: #f9f9f9;padding:8px 0;margin-bottom:10px;">
                <li>
                    <a href=""><i class="fa fa-cogs"></i>
                        轮播图管理</a>
                </li>
                <li class="active">
                    <a href="javascript:;">轮播图列表</a>
                </li>
            </ol>
            <ul class="nav nav-tabs" role="tablist">
                <li class="active"><a href="#tab1">轮播图管理</a></li>
                <!--<li><a href="{{u('lunboadd')}}">轮播图添加</a></li>-->
            </ul>
            <form action="" method="post">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <table class="table table-hover">
                            <thead>
                            <tr>
                                可以修改轮播的连接地址，及图片，请上传宽为690px,高为330px的图片
                            </tr>
                            <tr>
                                <th width="80">编号</th>
                                <th>轮播图片</th>
                                <th>轮播地址</th>
                                <th width="200">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                               <?php foreach($lunbo as $k=>$v){?>
                                <tr>
                                    <td>{{$v['lbid']}}</td>
                                    <td>{{$v['lb_img']}}</td>
                                    <td>{{$v['lb_url']}}</td>
                                    <td>
                                        <div class="btn-group">
                                            <button data-toggle="dropdown" class="btn btn-primary btn-xs dropdown-toggle">操作 <span class="caret"></span></button>
                                            <ul class="dropdown-menu dropdown-menu-right">
                                                <li><a href="{{u('lunboedit',['lbid'=>$v['lbid']])}}">编辑</a></li>
                                                <li class="divider"></li>
                                                <!--<li><a href="{{u('lunbodel',['lbid'=>$v['lbid']])}}">删除</a></li>-->
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                            <?php }?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </form>
            <div class="pagination pagination-sm pull-right">
                    {{$articles['page']}}
            </div>
        </div>
</block>
        <!--右侧主题部分 end-->
